<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg" id="ruleBody">
<input id="id" name="id" th:value="${communityInfo.id}"  type="hidden">
<input id="month" name="id" th:value="${communityInfo.ruleMonth}"  type="hidden">
<input id="season" name="id" th:value="${communityInfo.ruleSeason}"  type="hidden">
<input id="year" name="id" th:value="${communityInfo.ruleYear}"  type="hidden">
<input id="temp" name="id" th:value="${communityInfo.ruleTemp}"  type="hidden">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12" style="margin-top:-10px;text-align:center">
		<h2  style="margin-top:0px">绑定小区【<span th:text="${communityInfo.cName}"></span>】收费规则</h2>
		</div>
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">
							<ul class="nav nav-tabs">
								<li><a href="#month" attr="1" onclick="clickType(1)" data-toggle="tab">月租</a></li>
								<li><a href="#season" attr="2" onclick="clickType(2)" data-toggle="tab">季租</a></li>
								<li><a href="#year" attr="3" onclick="clickType(3)" data-toggle="tab">年租</a></li>
								<li><a href="#temp" attr="4" onclick="clickType(4)" data-toggle="tab">临时</a></li>
						    </ul>
						</div>
						<div class="columns pull-right">
							<button class="btn btn-success" onclick="reLoad()">查询</button>
						</div>
						<div class="columns pull-right col-md-2 nopadding">
							<input id="searchName" type="text" class="form-control"
								placeholder="请输入规则名称">
						</div>
					</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
					<div class="row" style="text-align:center;padding-top:20px">
						<button class="btn btn-info" onclick="closeBind()">关闭窗口</button>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_remove_h = '';
				var s_resetPwd_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="car:carPriceRule:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="car:carPriceRule:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>
		<div shiro:hasPermission="car:carPriceRule:resetPwd">
			<script type="text/javascript">
				var s_resetPwd_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/system/communityInfo/addRule.js"></script>
</body>
</html>